package com.redstar.HappyRefresh.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class VideoShare implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    //逻辑删除，0未删除，1删除，默认为0
    @TableLogic
    private Boolean isDeleted;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreated;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdated;

    private Long videoId;

    private Long userId;

    private String ip; // 每次视频分享的标识
}
